package com.hsp.Demo_05_extends.animal;

public class Animal {

    String name = "小王";
    int age;

    public void eat(){
        System.out.println("动物都会吃东西！");
    }

    public void run(){
        System.out.println("动物都会跑步!");
    }
}
